Properties and methods of the Embeddable Designer

In Microsoft Visual Basic, the properties of the Embeddable Designer are Read/Write. In Microsoft Visual C++, the corresponding functions will have Set and Get prefixed to the property name. Set writes to the property, and Get reads from the property. Methods and events have the same names in both environments.

Note:    Only the properties and methods of the CCRDesignerCtrl class (main class for the Embeddable Designer) are included. Information on properties, methods, and events for the base classes can be found in the Microsoft Developer Network (MSDN).

Microsoft Visual Basic Example


Dim bShowGrid As Boolean

' Get the value of the DisplayGrid property
bShowGrid = CRDesignerCtrl1.DisplayGrid

' If the Grid is displayed Set the DisplayGrid
' property to False
If bShowGrid Then CRDesignerCtrl1.DisplayGrid = False

Microsoft Visual C++ Example


BOOL bShowGrid;
    
// Get the value for the DispalyGrid property
bShowGrid = m_Designer.GetDisplayGrid();
    
// If the Grid is displayed Set the DisplayGrid
// property to False
if(bShowGrid) m_Designer.SetDisplayGrid(FALSE);



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com